package com.robotic.route.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.robotic.common.annotation.Excel;
import com.robotic.common.core.domain.BaseEntity;

/**
 * 巡检路线维护对象 inspection_task
 *
 * @author tian
 * @date 2025-08-22
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("inspection_task")
public class InspectionTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 路线编号 */
    @Excel(name = "路线编号")
    private String routeCode;

    /** 路线名称 */
    @Excel(name = "路线名称")
    private String routeName;

    /** 任务类型 */
    @Excel(name = "任务类型")
    private String taskType;

    /** 优先级 */
    @Excel(name = "优先级")
    private String priority;

    /** 循环周期 */
    @Excel(name = "循环周期")
    private String cyclePeriod;

    /** 频次 */
    @Excel(name = "频次")
    private Long frequency;

    /** 所需电量 */
    @Excel(name = "所需电量")
    private Long requiredBattery;

    /** 状态（0正常 1暂停） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=暂停")
    private String status;

}
